package com.usefullc.blog.query;

import com.usefullc.common.enums.QueryExpressTypeEnum;
import com.usefullc.system.query.BaseQuery;
import com.usefullc.system.validator.UsefulPropertyVerify;
import com.usefullc.system.service.component.extend.UsefulQueryField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 标签查询实体
 * @author: 星空
 * @date: 2022-07-06
 */
@ApiModel
@Data
public class TagQuery extends BaseQuery {

//useful_auto_generate_section_start

    @UsefulQueryField(type=QueryExpressTypeEnum.LIKE, columnName="name")
    @UsefulPropertyVerify(minLen=2, maxLen=50)
    @ApiModelProperty(notes = "名称")
    private String nameLike;


    @UsefulQueryField()
    @UsefulPropertyVerify(minLen=2, maxLen=50)
    @ApiModelProperty(notes = "名称")
    private String name;


//useful_auto_generate_section_end

}
